package com.settlement.system.model.entity.common;

import java.util.Date;

import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.settlement.system.converter.DateTimeFormatConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * AP_705一退明细参考表（公测）
 * @author Ximi
 * @since 2020-10-20
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblWpFirstRefundDetail extends BaseModel implements Serializable {


    /**
     * 供应商编码
     */
    @ExcelProperty(value = "供应商编码")
    @ApiModelProperty(value = "供应商编码")
    private String vendorCode;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    @ApiModelProperty(value = "供应商名称")
    private String vendorName;

    /**
     * 退供类型
     */
    @ExcelProperty(value = "退供类型")
    @ApiModelProperty(value = "退供类型")
    private String refundType;

    /**
     * 仓库编码
     */
    @ExcelProperty(value = "仓库")
    @ApiModelProperty(value = "仓库")
    private String warehouseNo;

    /**
     * 退供单号
     */
    @ExcelProperty(value = "退供单号")
    @ApiModelProperty(value = "退供单号")
    private String refundNo;

    /**
     * 采购单号
     */
    @ExcelProperty(value = "采购单号")
    @ApiModelProperty(value = "采购单号")
    private String poNo;

    /**
     * 库存类型
     */
    @ExcelProperty(value = "库存类型")
    @ApiModelProperty(value = "库存类型")
    private String stockType;

    /**
     * sku
     */
    @ExcelProperty(value = "sku")
    @ApiModelProperty(value = "sku")
    private String skuNo;

    /**
     * sku描述
     */
    @ExcelProperty(value = "sku描述")
    @ApiModelProperty(value = "sku描述")
    private String skuDescription;

    /**
     * 实际退供数量
     */
    @ExcelProperty(value = "实际退供数量")
    @ApiModelProperty(value = "实际退供数量")
    private Integer actualRefundQty;

    /**
     * 计划退供数量
     */
    @ExcelProperty(value = "计划退供数量")
    @ApiModelProperty(value = "计划退供数量")
    private Integer planRefundQty;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间",converter = DateTimeFormatConvert.class)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * po类型
     */
    @ApiModelProperty(value = "po类型")
    private String poType;


    /**
     * JITX合作模式
     */
    @ExcelProperty(value = "JITX合作模式")
    @ApiModelProperty(value = "JITX合作模式")
    private String jitxModel ;

}
